package org.jeecg.modules.complain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 维修收费
 * @Author: jeecg-boot
 * @Date:   2019-08-06
 * @Version: V1.0
 */
@Data
@TableName("prj_repair_charge")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="prj_repair_charge对象", description="维修收费")
public class RepairCharge {
    
	/**id*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "id")
	private String id;
	/**物料费*/
	@Excel(name = "物料费", width = 15)
    @ApiModelProperty(value = "物料费")
	private Double repairMaterialFee;
	/**维修工时费*/
	@Excel(name = "维修工时费", width = 15)
    @ApiModelProperty(value = "维修工时费")
	private Double repairManHourfee;
	/**报修单ID*/
	@Excel(name = "报修单ID", width = 15)
    @ApiModelProperty(value = "报修单ID")
	private String repairId;
	/**创建者*/
	@Excel(name = "创建者", width = 15)
    @ApiModelProperty(value = "创建者")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新者*/
	@Excel(name = "更新者", width = 15)
    @ApiModelProperty(value = "更新者")
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;
	/**备注信息*/
	@Excel(name = "备注信息", width = 15)
    @ApiModelProperty(value = "备注信息")
	private String remarks;
	/**删除标记*/
	@Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
	private String delFlag;
	/**报修单号*/
	@Excel(name = "报修单号", width = 15)
    @ApiModelProperty(value = "报修单号")
	private String repairNo;
	@ApiModelProperty(value = "app是否支付")
	private Integer isPay;
	private String roomId;
	@TableField(exist = false)
	private String payPhone;
	@TableField(exist = false)
    private Double amount;
	@TableField(exist = false)
	private String attachFile;
	@TableField(exist = false)
	private Integer confirmPay;

}
